package com.example.web_flux.controller;

import com.example.web_flux.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author luo
 * @description
 * @since 2022/8/17 13:58
 */
@RestController
public class GoodsController {


    private final GoodsService goodsService;



    public GoodsController(@Qualifier("main") GoodsService goodsService) {
        this.goodsService = goodsService;
    }
}
